import {h,init} from 'snabbdom'

import attrClass from 'snabbdom/modules/class'
import attrProps from 'snabbdom/modules/props'
import attrStyle from 'snabbdom/modules/style'
import eventlisteners from 'snabbdom/modules/eventlisteners'

let patch = init([attrClass, attrStyle, attrProps, eventlisteners])

export {
  patch,
  h
}